package com.创建型模型.C构建者模式.Director与抽象建造者结合;

/**@Description: 产品实体类，要实现的东西
 * @author zhangjiawen
 * @Date: 2022/5/31 10:51
 */
public class 套餐 {
    //默认套餐
    private String food1="汉堡";
    private String food2="可乐";
    private String food3="薯条";
    private String food4="甜点";

    public String getFood1() {
        return food1;
    }

    public void setFood1(String food1) {
        this.food1 = food1;
    }

    public String getFood2() {
        return food2;
    }

    public void setFood2(String food2) {
        this.food2 = food2;
    }

    public String getFood3() {
        return food3;
    }

    public void setFood3(String food3) {
        this.food3 = food3;
    }

    public String getFood4() {
        return food4;
    }

    public void setFood4(String food4) {
        this.food4 = food4;
    }

    @Override
    public String toString() {
        return "套餐{" +
                "food1='" + food1 + '\'' +
                ", food2='" + food2 + '\'' +
                ", food3='" + food3 + '\'' +
                ", food4='" + food4 + '\'' +
                '}';
    }
}
